import random
MIN_CHAR = ord(' ')
MAX_CHAR = ord('~')
PAD_LENGTH = 4096
def genPad(length):
    pad=[0]*length
    for i in range(0, length):
        pad[i]=random.randint(MIN_CHAR, MAX_CHAR)#printable characters
    print pad
    return pad

genPad(PAD_LENGTH)
